﻿using Datav.Design.Datas.Pocos;
using System.ComponentModel;
using Zdap.XCode;

namespace WorldDesign.Datas
{
    /// <summary>
    /// 
    /// </summary>
    public   class ProjectModelDto
    {
        /// <summary>编号</summary>
        public Int64 Id { get; set; }

        /// <summary>名称</summary>
        public String Name { get; set; }

        /// <summary>详细描述</summary>
        public String Description { get; set; }

        /// <summary>排序</summary>
        public Int32 Sort { get; set; }

        /// <summary>缩略图</summary>
        public string Thumbnail { get; set; }

        /// <summary>configs</summary>
        [JsonField("Config")]
        public dynamic Config { get; set; }

        /// <summary>租户Id</summary>
        public Int64 TenantId { get; set; }

        /// <summary>分组Id</summary>
        public Int64 GroupId { get; set; }

        /// <summary>分组Id</summary>
        public string? Share { get; set; }

        /// <summary>模版Id</summary>
        public Int64 TemplateId { get; set; }

    }

    /// <summary>
    /// 
    /// </summary>
    public class NameDto
    {
        /// <summary>名称</summary>
        public String Name { get; set; }

    }
}